package cheme.ProcessEditor.Parts.Streams.Tag;

import org.eclipse.draw2d.IFigure;
import org.eclipse.gef.EditPolicy;

import cheme.ProcessEditor.Figures.TagComponentListFig;
import cheme.ProcessEditor.Table.AbstractTablePart;
import cheme.ProcessModel.ProcessUnits.Streams.Tags.TagComponentList;

public class PartTagComponentList extends AbstractTablePart
{
	@Override
	protected IFigure createFigure()
	{
		return  new TagComponentListFig();
	}

	@Override
	protected void createEditPolicies()
	{
		installEditPolicy(EditPolicy.COMPONENT_ROLE, new PolicyTagComponentList());
//		installEditPolicy(EditPolicy.LAYOUT_ROLE, new PolicyTagComponentListLayout());
	}
	
	public TagComponentList getModel()
	{
		return (TagComponentList)super.getModel();
	}
}

